﻿namespace AIStudio.Wpf.PrismAvalonExtensions.Events
{
    public class CloseAllDocumentsEventArgs
    {
        public CloseAllDocumentsEventArgs()
        {
        }

        public CloseAllDocumentsEventArgs(bool allowSaveDialog)
        {
            _allowSaveDialog = allowSaveDialog;
        }

        bool _allowSaveDialog = true;
        public bool AllowSaveDialog
        {
            get
            {
                return _allowSaveDialog;
            }
        }

        bool _cancel = false;
        public bool Cancel
        {
            get
            {
                return _cancel;
            }
            set
            {
                _cancel = value;
            }
        }
    }
}
